﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace StoryTeller.Domain
{
    public enum EOrder
    {
        asc,
        desc
    }

    public class Pagination<T> where T : BaseDomain
    {
        public int TotalItems { get; set; }

        public int PageSize { get; set; }

        public int PageNumber { get; set; }

        public EOrder Order { get; set; }

        public string OrderField { get; set; }

        public T Filter { get; set; }

        public ICollection<T> List { get; set; }
    }
}
